package com.ss.android.article.base.feature.detail2.article.a;

import android.view.View;
import android.widget.ListView;
import android.widget.TextView;
import com.ss.android.article.base.feature.detail.presenter.CommentTabCache;
import com.ss.android.article.base.feature.detail.view.DetailScrollView;
import com.ss.android.article.base.feature.detail2.b.NewDetailAdapter;
import com.ss.android.article.base.feature.model.Article;
import com.ss.android.article.base.ui.ScrollListenerWebView;
import com.ss.android.article.browser.R;
import com.ss.android.newmedia.a.AbstractFooter;
import com.ss.android.newmedia.e.WapStatHelper;

public final class NewDetailViewHolder {
    public DetailScrollView mDetailScrollView;
    public ScrollListenerWebView mWebView;
    public ListView mListView;
    public View mNightModeOverlay;
    public NewDetailPageExtra mNewDetailPageExtra;
    public NewDetailAdapter mNewDetailAdapter;
    public CommentTabCache mCommentTabCache;
    public AbstractFooter mFooter;
    public TextView mMoreTextView;
    public boolean isNightMode;
    public boolean everEnterComment;
    public boolean l;
    public boolean m;
    public WapStatHelper mWapStatHelper;
    public int token;
    public boolean isDetailAdShowReported;
    public boolean isDetailCommentsShowReported;
    public boolean isFinishCommentReported;
    public boolean isLikeAndRewardsShowReported;
    public boolean isConcernWordsShowReported;
    public boolean u;

    public NewDetailViewHolder() {
        this.isNightMode = false;
        this.everEnterComment = false;
        this.mWapStatHelper = new WapStatHelper();
        this.token = 0;
        this.isDetailAdShowReported = false;
        this.isDetailCommentsShowReported = false;
        this.isFinishCommentReported = false;
        this.isLikeAndRewardsShowReported = false;
        this.isConcernWordsShowReported = false;
        this.u = false;
    }

    public final boolean hasArticleUrl(Article article) {
        return this.mWebView.getTag(R.id.webview_transform_key) != Boolean.TRUE
                && article != null
                && article.hasArticleUrl();
    }

    public final boolean isWebViewClientTransform() {
        return this.mWebView.getTag(R.id.webview_client_transform_key) == Boolean.TRUE;
    }
}

